#include <stdio.h>

int main()
{
    int num;
    while (scanf("%d", &num) != EOF)
    {
        int total;
        for (int i = 0; i <= num; i++)
        {
            total += i;
        }
        printf("%d", total);
    }
    return 0;
}